<div class="sebelumjud">
        <div class="jodol">Problem | —<?php if(!empty($divisi)) echo $divisi?>: Solved</div>
                        <?php
                            if(!empty($page) and !empty($curr_page)){
                                echo '<div id="panah">';
                                if($curr_page>1)
                                echo '<a href="'.base_url().'progress/progress_con/problem_page/'.$stat.'/'.$id.'/'.($curr_page-1).'" class="pre"><img src="'.base_url().'images/pre.png" width="18" height="17" /></a>
                                    ';
                                if($curr_page<$page)
                                    echo '<a href="'.base_url().'progress/progress_con/problem_page/'.$stat.'/'.$id.'/'.($curr_page+1).'" class="next"><img src="'.base_url().'images/next.png" width="18" height="17" /></a>
                                        ';
                                echo '</div>';
                            }
                        ?>    
</div>
<div class="clear"></div>

        <div id="jumat">
                <div id="last">
                    <a href="<?php echo base_url().'progress/progress_con/problem'?>">Home</a>
                    <a href="<?php echo base_url().'progress/progress_con/problem_page/new'?>">New</a>
                    <a href="<?php echo base_url().'progress/progress_con/problem_page/handled'?>">Handled</a>
                    <a href="<?php echo base_url().'progress/progress_con/problem_page/rejected'?>">Rejected</a>
                    <a href="<?php echo base_url().'progress/progress_con/problem_page/solved'?>">Solved</a>
                    <a href="<?php echo base_url().'progress/progress_con/problem_manage'?>">Manage</a>
                </div>
                <table border="0" cellspacing="0" cellpadding="0" class="tabeltgl">
                    <tr>
                    <td><ul class="are">
                        <li><a href="<?php echo base_url().'progress/progress_con/problem_page/solved/-1'?>">All Division</a></li>
                        <?php
                            if(!empty($list_divisi)){
                                for($i=0;$i<count($list_divisi);$i++){
                                    echo '<li><a href="'.base_url().'progress/progress_con/problem_page/solved/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['NAMA_DIVISI'].'</a></li>
                                        ';
                                }
                            }
                        ?>
                </ul></td>
                </tr>
                </table>

                <div id="text">
                    
                    
                    <?php
                        if(!empty($problem)){
                            for($i=0;$i<count($problem);$i++){
                                if(empty($problem[$i]['ID_KOMPLAIN'])){
                                    echo '
                                    <div class="bebek bwhpad">
                                        <img class="avatarmu" src="'.$problem[$i]['FOTO'].'" width="48" height="48" />
                                        '.$problem[$i]['HANDLER'].' : '.$problem[$i]['KOMENTAR_HANDLING'].'<br>'.$problem[$i]['NAMA'].' : '.$problem[$i]['KOMENTAR'].'
                                        <p class="clear"></p>
                                        <span class="staff">Via Students Feedback by '.$problem[$i]['NAMA'].', '.$problem[$i]['TANGGAL'].', '.$problem[$i]['KODE_PELATIHAN'].'-'.$problem[$i]['ANGKATAN'].', Sesi-'.$problem[$i]['NOMOR_SESI'].', '.$problem[$i]['NAMA_RUANGAN'];
                                        echo '<br />Solved by '.$problem[$i]['HANDLER'].', '.$problem[$i]['TGL_SOLVE'].', '.$problem[$i]['WAKTU_SOLVE'].' </span>';
                                        echo '<span class="plus">Solved</span>';                                        
                                        echo '<p class="clear"></p>
                                    </div>
                                        ';                                    
                                }else{
                                    echo '
                                        <div class="bebek bwhpad">
                                            <img class="avatarmu" src="'.$problem[$i]['FOTO'].'" width="48" height="48" />
                                            '.$problem[$i]['HANDLER'].' : '.$problem[$i]['KOMENTAR_HANDLING'].'<br>'.$problem[$i]['NAMA'].' : '.$problem[$i]['ISI_KOMPLAIN'].'
                                            <p class="clear"></p>
                                            <span class="staff">Direct Complain by '.$problem[$i]['NAMA'].', '.$problem[$i]['TGL_KOMPLAIN'].', '.$problem[$i]['WAKTU_KOMPLAIN'].'
                                            <br />Solved by '.$problem[$i]['HANDLER'].', '.$problem[$i]['TGL_SOLVE'].', '.$problem[$i]['WAKTU_SOLVE'].' </span>';
                                            echo '<span class="plus">Solved</span>';
                                            echo '<p class="clear"></p>
                                        </div>
                                        ';
                                }
                            }
                        }
                    ?>
                        <p class="paging">
                        <?php
                            if(!empty($page) and !empty($curr_page)){
                                if($curr_page>1)
                                echo '<a href="'.base_url().'progress/progress_con/problem_page/'.$stat.'/'.$id.'/'.($curr_page-1).'"><</a>';
                                for($i=0;$i<$page;$i++){
                                    if($curr_page==($i+1))
                                        echo '<b>';
                                    echo '<a href="'.base_url().'progress/progress_con/problem_page/'.$stat.'/'.$id.'/'.($i+1).'">'.($i+1).'</a>';
                                    if($curr_page==($i+1))
                                        echo '</b>';
                                }
                                if($curr_page<$page)
                                    echo '<a href="'.base_url().'progress/progress_con/problem_page/'.$stat.'/'.$id.'/'.($curr_page+1).'">></a>';
                            }
                        ?>    
                        </p>
                </div><!---end div text--->
        </div><!---end div jumat--->
        <div class="clear"></div>